using Microsoft.Expression.Media;
using System;
using System.Windows;
namespace Microsoft.Expression.Controls
{
	public sealed class Callout : CompositeContentShape, IGeometrySourceParameters, ICalloutGeometrySourceParameters
	{
		public static readonly DependencyProperty AnchorPointProperty = DependencyProperty.Register("AnchorPoint", typeof(Point), typeof(Callout), new DrawingPropertyMetadata(default(Point), DrawingPropertyMetadataOptions.AffectsRender));
		public static readonly DependencyProperty CalloutStyleProperty = DependencyProperty.Register("CalloutStyle", typeof(CalloutStyle), typeof(Callout), new DrawingPropertyMetadata(CalloutStyle.RoundedRectangle, DrawingPropertyMetadataOptions.AffectsRender));
		public Point AnchorPoint
		{
			get
			{
				return (Point)base.GetValue(Callout.AnchorPointProperty);
			}
			set
			{
				base.SetValue(Callout.AnchorPointProperty, value);
			}
		}
		public CalloutStyle CalloutStyle
		{
			get
			{
				return (CalloutStyle)base.GetValue(Callout.CalloutStyleProperty);
			}
			set
			{
				base.SetValue(Callout.CalloutStyleProperty, value);
			}
		}
		public Callout()
		{
			base.set_DefaultStyleKey(typeof(Callout));
		}
		protected override IGeometrySource CreateGeometrySource()
		{
			return new CalloutGeometrySource();
		}
	}
}
